﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="LpnGenerate.aspx.cs" Inherits="WMS6.Web.Common.LpnGenerate" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
  <link href="../style/zh/1/css.css" type="text/css" rel="Stylesheet" id="mycss" />
  <link href="../Css/style.css" type="text/css" rel="stylesheet" />
   <script src="../Js/util.js" id="js" type="text/javascript"></script>
    <script src="../Js/InitPage.js" type="text/javascript"></script> 
     <script language="javascript" type="text/javascript"  src="../Js/jquery.js"></script>
    <script language="javascript"type="text/javascript" src="../Js/jquery.blockUI.js"></script>  
    <base target="_self" />   
    <title>LPN生成</title>
    <script language=javascript>
       //初始化页面
     
     function Impor()
     {
        var blockUIMsg = "<img src='../Images/loading.gif' /> &nbsp;&nbsp;&nbsp;请稍候...";
        //var lang = parent.frames['banner'].document.getElementById("hdnPerfLanguage").value;
        $.blockUI.defaults.message = blockUIMsg;
        $.blockUI.defaults.overlayCSS.backgroundColor = GetBlockUIBgColor();
        $.blockUI();
    }

    function copyToClipBoard() 
    { 
       var clipBoardContent=""; 　　
       clipBoardContent += document.getElementById('divMsg').innerText; 
　　   window.clipboardData.setData("Text",clipBoardContent);   　　
       alert("复制成功,请粘贴到剪切板.");
   }
    </script>
    
    
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table width="520" align="center" cellpadding="0" cellspacing="0">
            <tr>
                <td align="center" valign="bottom">
                    <asp:Label ID="Label2" runat="server" CssClass="label_header" Text="生成信息" meta:resourcekey="Label2"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    <table width="360" cellpadding="0" cellspacing="0" align="center" style="margin: 10px 0">
                        <tr>
                            <td>
                                <asp:Label ID="lblMsg" runat="server" class="label_message" meta:resourcekey="lblMsg"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="Label1" runat="server" class="label" Text="生成个数" meta:resourcekey="Label1"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:TextBox ID="txtCount" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Button ID="btnGenerate" runat="server" OnClientClick="Impor(); return true"
                                    OnClick="btnGenerate_Click" CssClass="button" Text="<%$Resources:ButtonResource,btnConfirm%>" />
                                <input type="button" onclick="javascript:  window.close();" id="Submit1" runat="server"
                                    class="button" value="<%$Resources:ButtonResource,btnGoBack%>" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <div id="divMsg" runat="server" style="cursor: hand; margin-top: 10px; border: solid 1px #fcfcfc"
                                    onclick="copyToClipBoard();" onmouseover="document.getElementById('divMsg').style.border = 'solid 1px #C5D1FF';"
                                    onmouseout="document.getElementById('divMsg').style.border = 'solid 1px #fcfcfc';">
                                </div>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
               <input type="hidden" id="hdnActionID" runat="server" />
    </div>
    </form>
</body>
</html>

